package com.songlanyun.modules.message.model;

import com.songlanyun.common.drive.ValueObject;
import com.songlanyun.common.enums.OpusConstant;
import com.songlanyun.common.enums.SysConstant;
import lombok.Data;

/**
 * 互动消息模型
 */
@Data
public class InteractionMessage implements ValueObject, IMessageBody {

    public InteractionMessage() {
    }

    public InteractionMessage(SysConstant.InteractionType type, Long modelId, String msg) {
        this.type = type;
        this.modelId = modelId;
        this.msg = msg;
    }

    /**
     * 类型
     */
    private SysConstant.InteractionType type;

    /**
     * 
     */
    private Long modelId;

    /**
     * 消息
     */
    private String msg;
}
